import 'package:json_annotation/json_annotation.dart';

part 'actor_model.g.dart';

@JsonSerializable()
class ActorModel {
  final String? headimg;
  final String? nick_name;
  final String? real_name;

  const ActorModel(
      this.headimg,
      this.nick_name,
      this.real_name,
      );

  factory ActorModel.fromJson(Map<String, dynamic> json) =>
      _$ActorModelFromJson(json);

  Map<String, dynamic> toJson() => _$ActorModelToJson(this);
}
